Amicable Number program in python